﻿using GalaSoft.MvvmLight.Messaging;
using Siasun.AFC.RtPlatfromGui.UI.WinMain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Siasun.AFC.RtPlatfromGui.UI.PageUI
{
    public class DetailBasePage: Page
    {
        #region 父窗体
        private PlatfromWinMain _parentWin;
        /// <summary>
        /// 父窗体
        /// </summary>
        public PlatfromWinMain ParentUserWindow
        {
            get { return _parentWin; }
            set { _parentWin = value; }
        }
        #endregion

        #region 方法
        protected void ShowDetailPage(string pageName)
        {
            Messenger.Default.Send<string>(pageName, "ShowPage");
        } 
        #endregion

        //添加Load和UnLoad
    }
}
